package org.jeecg.modules.xl.brand.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * ${DESCRIPTION}
 * @author deco
 * @create 2025-02-27
*/
/**
 * 品牌清单
 */
@Data
@TableName(value = "xl_product_brand")
public class XlProductBrand implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 品牌编码
     */
    @TableField(value = "brand_code")
    private String brandCode;

    /**
     * 品牌名
     */
    @TableField(value = "brand_name")
    private String brandName;

    /**
     * 品牌logo
     */
    @TableField(value = "brand_logo")
    private String brandLogo;

    @TableField(exist = false)
    private String l1typeName;

    @TableField(exist = false)
    private String l1Typecode;
    /**
     * 租户id
     */
    @TableField(value = "tenant_id")
    private String tenantId;

    /**
     * 是否删除
     */
    @TableField(value = "is_deleted")
    private String isDeleted;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    private String createBy;

    /**
     * 创建日期
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    private String updateBy;

    /**
     * 更新日期
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}